/********************************************************************************
** Form generated from reading ui file 'serverwindow.ui'
**
** Created: Mon Aug 17 14:03:00 2009
**      by: Qt User Interface Compiler version 4.5.2
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
********************************************************************************/

#ifndef UI_SERVERWINDOW_H
#define UI_SERVERWINDOW_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLineEdit>
#include <QtGui/QMainWindow>
#include <QtGui/QMenuBar>
#include <QtGui/QPushButton>
#include <QtGui/QStatusBar>
#include <QtGui/QWidget>
#include "tablescorewidget.h"

QT_BEGIN_NAMESPACE

class Ui_ServerWindow
{
public:
    QWidget *centralwidget;
    QGridLayout *gridLayout;
    QPushButton *btnStartServer;
    QLineEdit *edPort;
    TableScoreWidget *scoreTable;
    QMenuBar *menubar;
    QStatusBar *statusbar;

    void setupUi(QMainWindow *ServerWindow)
    {
        if (ServerWindow->objectName().isEmpty())
            ServerWindow->setObjectName(QString::fromUtf8("ServerWindow"));
        ServerWindow->resize(243, 197);
        centralwidget = new QWidget(ServerWindow);
        centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
        gridLayout = new QGridLayout(centralwidget);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        btnStartServer = new QPushButton(centralwidget);
        btnStartServer->setObjectName(QString::fromUtf8("btnStartServer"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(btnStartServer->sizePolicy().hasHeightForWidth());
        btnStartServer->setSizePolicy(sizePolicy);

        gridLayout->addWidget(btnStartServer, 0, 0, 1, 1);

        edPort = new QLineEdit(centralwidget);
        edPort->setObjectName(QString::fromUtf8("edPort"));
        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(edPort->sizePolicy().hasHeightForWidth());
        edPort->setSizePolicy(sizePolicy1);

        gridLayout->addWidget(edPort, 0, 1, 1, 1);

        scoreTable = new TableScoreWidget(centralwidget);
        if (scoreTable->columnCount() < 2)
            scoreTable->setColumnCount(2);
        QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
        scoreTable->setHorizontalHeaderItem(0, __qtablewidgetitem);
        QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
        scoreTable->setHorizontalHeaderItem(1, __qtablewidgetitem1);
        scoreTable->setObjectName(QString::fromUtf8("scoreTable"));
        scoreTable->setEditTriggers(QAbstractItemView::NoEditTriggers);
        scoreTable->setAlternatingRowColors(true);
        scoreTable->setSelectionMode(QAbstractItemView::NoSelection);
        scoreTable->setSortingEnabled(true);
        scoreTable->horizontalHeader()->setDefaultSectionSize(150);
        scoreTable->horizontalHeader()->setProperty("showSortIndicator", QVariant(false));
        scoreTable->horizontalHeader()->setStretchLastSection(true);
        scoreTable->verticalHeader()->setVisible(false);

        gridLayout->addWidget(scoreTable, 1, 0, 1, 2);

        ServerWindow->setCentralWidget(centralwidget);
        menubar = new QMenuBar(ServerWindow);
        menubar->setObjectName(QString::fromUtf8("menubar"));
        menubar->setGeometry(QRect(0, 0, 243, 28));
        ServerWindow->setMenuBar(menubar);
        statusbar = new QStatusBar(ServerWindow);
        statusbar->setObjectName(QString::fromUtf8("statusbar"));
        ServerWindow->setStatusBar(statusbar);

        retranslateUi(ServerWindow);
        QObject::connect(btnStartServer, SIGNAL(clicked()), ServerWindow, SLOT(onStartServerClicked()));

        QMetaObject::connectSlotsByName(ServerWindow);
    } // setupUi

    void retranslateUi(QMainWindow *ServerWindow)
    {
        ServerWindow->setWindowTitle(QApplication::translate("ServerWindow", "Server", 0, QApplication::UnicodeUTF8));
        btnStartServer->setText(QApplication::translate("ServerWindow", "Start Server", 0, QApplication::UnicodeUTF8));
        edPort->setText(QApplication::translate("ServerWindow", "2012", 0, QApplication::UnicodeUTF8));
        QTableWidgetItem *___qtablewidgetitem = scoreTable->horizontalHeaderItem(0);
        ___qtablewidgetitem->setText(QApplication::translate("ServerWindow", "Nick", 0, QApplication::UnicodeUTF8));
        QTableWidgetItem *___qtablewidgetitem1 = scoreTable->horizontalHeaderItem(1);
        ___qtablewidgetitem1->setText(QApplication::translate("ServerWindow", "Score", 0, QApplication::UnicodeUTF8));
        Q_UNUSED(ServerWindow);
    } // retranslateUi

};

namespace Ui {
    class ServerWindow: public Ui_ServerWindow {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_SERVERWINDOW_H
